<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>

<div class="ftitle">管理员信息<br><font color="red">默认密码为：123456,登录系统后可以修改密码。</font></div>
<sf:form method="post" modelAttribute="user" id="user_form">
	<table style="margin: 0 auto;">
		<tbody>
			<tr>
				<td>所属机构:</td>
				<td><sf:input path="organization.id"
						cssClass="easyui-combotree"
						data-options="url:'organization/list',method:'get',valueField:'id',textField:'name',required:true" /></td>
			</tr>
			<tr>
				<td>登录账号:</td>
				<td><sf:input path="username" cssClass="easyui-validatebox"
						required="true" /></td>
			</tr>
			<tr>
				<td>真实姓名:</td>
				<td><sf:input path="realname" cssClass="easyui-validatebox"
						required="true" /></td>
			</tr>
			<tr>
				<td>手机号码:</td>
				<td><sf:input path="phone" cssClass="easyui-validatebox"
						required="true" /></td>
			</tr>
		</tbody>
	</table>
</sf:form>
<hr>
<a href="javascript:saveUser();" class="easyui-linkbutton"
	data-options="iconCls:'icon-save'" style="float: left;">保存</a>
<a href="javascript:$('#user_win').window('close');"
	class="easyui-linkbutton" data-options="iconCls:'icon-save'"
	style="float: right;">取消</a>
